using Net35.Xrm.Sdk;
using System;
using System.Runtime.Serialization;
namespace Net35.Crm.Sdk.Messages
{
	[DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
	public sealed class RetrieveFilteredFormsRequest : OrganizationRequest
	{
		public string EntityLogicalName
		{
			get
			{
				if (base.Parameters.Contains("EntityLogicalName"))
				{
					return (string)base.Parameters["EntityLogicalName"];
				}
				return null;
			}
			set
			{
				base.Parameters["EntityLogicalName"] = value;
			}
		}
		public OptionSetValue FormType
		{
			get
			{
				if (base.Parameters.Contains("FormType"))
				{
					return (OptionSetValue)base.Parameters["FormType"];
				}
				return null;
			}
			set
			{
				base.Parameters["FormType"] = value;
			}
		}
		public Guid SystemUserId
		{
			get
			{
				if (base.Parameters.Contains("SystemUserId"))
				{
					return (Guid)base.Parameters["SystemUserId"];
				}
				return default(Guid);
			}
			set
			{
				base.Parameters["SystemUserId"] = value;
			}
		}
		public RetrieveFilteredFormsRequest()
		{
			base.RequestName = "RetrieveFilteredForms";
			this.EntityLogicalName = null;
			this.FormType = null;
			this.SystemUserId = default(Guid);
		}
	}
}
